package com.kotlin.flong.reflection

import kotlin.reflect.full.memberProperties

/**
 * @Author:liangjl
 * @Date: 2020/7/11-22:22
 * @Eamil:jilongliang@sina.com
 * @Description:
 */
class MyTest2(var username: String,var age: Int) {
}

fun main() {
    var myTest2 = MyTest2::class
    println(myTest2.memberProperties)

}